package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 物品类型
 * </p>
 *
 * @author yuanjie
 * @since 2022-09-30
 */
@Data
@TableName("TMS_MGoodsType")
@ApiModel(value = "GoodsTypeDO对象", description = "物品类型")
public class GoodsTypeDO implements Serializable {


    private static final long serialVersionUID = 1257889287374779294L;
    @ApiModelProperty("类型id")
    @TableId(value = "GoodsType_ID", type = IdType.AUTO)
    private Long goodstypeId;

    @ApiModelProperty("所属公司")
    private Long goodstypeCompanyid;

    @ApiModelProperty("类型编号")
    private String goodstypeCode;

    @ApiModelProperty("类型编号")
    private String goodstypeUnit;

    @ApiModelProperty("类型名称")
    private String goodstypeName;

    @ApiModelProperty("备注")
    private String goodstypeDescription;

    @ApiModelProperty("创建人")
    private Long goodstypeCreator;

    @ApiModelProperty("添加时间")
    private LocalDateTime goodstypeInserttime;

    @ApiModelProperty("最新修改人")
    private Long goodstypeUpdater;

    @ApiModelProperty("最新修改时间")
    private LocalDateTime goodstypeUpdatetime;

    @ApiModelProperty("0有效 1 失效")
    private Integer goodstypeInvalid;

    @ApiModelProperty("备注")
    private String goodstypeComments;

    @ApiModelProperty("对接操作人")
    private String goodstypeOperator;

    @ApiModelProperty("对接id")
    private Long goodstypeTerminalid;

    @ApiModelProperty("对接编号")
    private String goodstypeTerminalcode;

    private Integer optStatus;


}
